package com.community.service.impl;

import com.community.dto.RecordDTO;
import com.community.mapper.RecordDAO;
import com.community.po.RecordPO;
import com.community.service.RecordService;
import com.lening.common.base.BaseServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 杨军
 * @since 2024-05-31
 */
@Service
public class RecordServiceImpl extends BaseServiceImpl<RecordDAO, RecordPO, RecordDTO> implements RecordService {

    @Override
    public int adda(Long total, Long success, Long failing) {
        int adda = this.baseMapper.adda(total, success, failing);
        return adda;
    }
}
